<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>
<head>
<meta charset="utf-8">
<title>添加点卡</title>
<link rel="stylesheet" media="screen" href="../css/styles.css">
<style>
.contact_form {
	padding-top: 40px;
}

.title {
	background-color: rgba(0, 0, 0, 0.56);
	text-align: center;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	padding: 5px 0;
}

.title a {
	color: #FFF;
	text-decoration: none;
	font-size: 16px;
	font-weight: bolder;
	line-height: 24px;
}
</style>
</head>
<body>
	<form class="contact_form" action="add_card_do.jsp" method="post"
		name="contact_form">
		<ul>
			<li>
				<h2>添加点卡</h2> <!--  
             <span class="required_notification">* 表示必填项</span>
             -->
			</li>
			<li><label for="CardNumber">卡号:</label> <input type="text"
				name="CardNumber" required /> <span class="form_hint">请填写卡号</span>
			</li>
			
			<li><label for="CardPassword">密码:</label> <input type="text"
				name="CardPassword" required /> <span class="form_hint">请填写密码</span>
			</li>
			
			<li><label for="Money">金额:</label> <input type="text"
				name="Money" required /> <span class="form_hint">请填写金额</span></li>
				
			<li><label for="Point">点数:</label> <input type="text"
				name="Point" required /> <span class="form_hint">请填写点数</span></li>
				
			<li><label for="TimeOutDate">有效日期:</label> <input type="date"
				name="TimeOutDate" required /> <span class="form_hint">请填写有效日期</span>
			</li>

			<li>
			<label for="status">锁定:</label> 
			<select name="status">
					<option value="lock_yes">是</option>
					<option value="lock_no" selected="selected">否</option>
			</select>
			</li>
			
			<li>
			<label for="isUse">使用:</label> 
			<select name="isUse">
					<option value="use_yes">是</option>
					<option value="use_no" selected="selected">否</option>
			</select>
			</li>
				
			<li>
			<label for="isBuy">购买:</label> 
			<select name="isBuy">
					<option value="buy_yes">是</option>
					<option value="buy_no" selected="selected">否</option>
			</select>
			</li>

			<li>
				<button class="submit" type="submit">添加</button>
			</li>
		</ul>
	</form>
</body>
</html>